TableHeadings
TableHeadings is an option for TableForm and MatrixForm that gives the labels to be printed for entries in each dimension of a table or matrix.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.